home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / samples / midpnt / instlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-22  |  946 b   |  43 lines

  1. /*
  2.  *      InstList.h
  3.  *
  4.  * MIDAS Module Player for Windows NT Instrument List View
  5.  *
  6.  * Copyright 1996 Petteri Kangaslampi
  7. */
  8.  
  9. #ifndef __INSTLIST_H
  10. #define __INSTLIST_H
  11.  
  12.  
  13. class InstListWindow;
  14.  
  15. class InstListView : public midpView
  16. {
  17. private:
  18.     InstListWindow *window;
  19. public:
  20.     InstListView(void);
  21.     virtual ~InstListView(void);
  22.     virtual char *Name(void);
  23.     virtual char *Description(void);
  24.     virtual midpViewWindow *CreateViewWindow(Registry *registry = NULL);
  25.     virtual void DestroyViewWindow(midpViewWindow *window);
  26. };
  27.  
  28.  
  29. class InstListWindow : public midpViewWindow
  30. {
  31. protected:
  32.     HWND        listWinHandle;
  33. public:
  34.     InstListWindow(int instanceNumber, midpView *view,
  35.         Registry *registry = NULL);
  36.     virtual ~InstListWindow(void);
  37.     void UpdateList(void);
  38.     LRESULT CALLBACK ClassWindowProc(HWND hwnd, UINT message, WPARAM wparam,
  39.         LPARAM lparam);
  40. };
  41.  
  42.  
  43. #endif